//
//  Test24.cpp
//  CPPTest
//
//  Created by you5 Yi on 2021/9/25.
//

#include "Test24.hpp"
#include <iostream>
using namespace std;
class test {
private:
    int x,y;
public:
    void f(int a,int b) {
        x = a;
        y = b;
    }
    int max() {
        return (x>y)?x:y;
    }
};

void test24() {
    test a;
    a.f(1, 3);
    cout<<a.max()<<endl;
}
